import os

class GBUtils():

	@staticmethod
	def isEmptyString(s):
		return None==s or len(s)<=0

	# get file basename & ext
	@staticmethod
	def basename(fullname):
		basename = os.path.basename(fullname)
		arr = basename.split('.', 1)
		return arr[0].encode('utf-8'), arr[1].encode('utf-8')
